function FormatDate (input) {
  let ms = Date.parse(input || '2018-05-28T05:04:24.000Z')
  let Y = new Date(ms).getFullYear()
  let M = new Date(ms).getMonth() + 1
  let D = new Date(ms).getDate()
  return Y + '-' + M + '-' + D
}
export {FormatDate}
